<template>
  <el-tooltip placement="top">
    <div slot="content">
      <a target="_blank" :href="href">{{ tip }}</a>
    </div>
    <i :class="icon" />
  </el-tooltip>
</template>

<script>
export default {
  name: 'LabelTip',
  props: {
    icon: {
      type: String,
      default: 'el-icon-question'
    },
    tip: {
      type: String,
      default: '查看更多'
    },
    href: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
    }
  }
}
</script>
